package com.upc.tp.timeplanning.entity;

import java.util.Date;

public class Task {
    private Integer task_id;
    private String username;
    private String content;
    private Date creation_time;
    private String subject;
    private String type;
    private Integer start_time;
    private Integer end_time;
    private Date start_day;
    private Date end_day;
    private Integer rule_id;
    private Integer parent_pass;
    private Integer repeat_time;
    private Integer finish;


    public Task(){}

    public Task(Integer task_id, String username, String content, Date creation_time, String subject, String type, Integer start_time, Integer end_time, Date start_day, Date end_day, Integer rule_id, Integer parent_pass, Integer repeat_time, Integer finish) {
        this.task_id = task_id;
        this.username = username;
        this.content = content;
        this.creation_time = creation_time;
        this.subject = subject;
        this.type = type;
        this.start_time = start_time;
        this.end_time = end_time;
        this.start_day = start_day;
        this.end_day = end_day;
        this.rule_id = rule_id;
        this.parent_pass = parent_pass;
        this.repeat_time = repeat_time;
        this.finish = finish;
    }

    public Integer getTask_id() {
        return task_id;
    }

    public void setTask_id(Integer task_id) {
        this.task_id = task_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreation_time() {
        return creation_time;
    }

    public void setCreation_time(Date creation_time) {
        this.creation_time = creation_time;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getStart_time() {
        return start_time;
    }

    public void setStart_time(Integer start_time) {
        this.start_time = start_time;
    }

    public Integer getEnd_time() {
        return end_time;
    }

    public void setEnd_time(Integer end_time) {
        this.end_time = end_time;
    }

    public Date getStart_day() {
        return start_day;
    }

    public void setStart_day(Date start_day) {
        this.start_day = start_day;
    }

    public Date getEnd_day() {
        return end_day;
    }

    public void setEnd_day(Date end_day) {
        this.end_day = end_day;
    }

    public Integer getRule_id() {
        return rule_id;
    }

    public void setRule_id(Integer rule_id) {
        this.rule_id = rule_id;
    }

    public Integer getParent_pass() {
        return parent_pass;
    }

    public void setParent_pass(Integer parent_pass) {
        this.parent_pass = parent_pass;
    }

    public Integer getFinish() {
        return finish;
    }

    public void setFinish(Integer finish) {
        this.finish = finish;
    }

    public Integer getRepeat_time() {
        return repeat_time;
    }

    public void setRepeat_time(Integer repeat_time) {
        this.repeat_time = repeat_time;
    }

}
